package com.wisdytech.linkdcs.pad.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * <p>Description: IPQC检验单实体类</p>
 * </p>
 * @author chenbin
 * @since 2018-08-13
 */
@TableName("TT_QM_IPQC_INSPECTION_SHEET")
public class IpqcInspectionSheet extends Model<IpqcInspectionSheet> {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private String pkId;
    /**
     * 检验单号
     */
    @TableField("SHEET_NO")
    private String sheetNo;
    /**
     * 生产订单ID
     */
    @TableField("MANUFACTURE_ID")
    private String manufactureId;
    /**
     * 产品ID
     */
    @TableField("PRODUCT_ID")
    private String productId;
    /**
     * 产线ID
     */
    @TableField("LINE_ID")
    private String lineId;
    /**
     * 工序ID
     */
    @TableField("OPERATION_ID")
    private String operationId;
    /**
     * 班组ID
     */
    @TableField("GROUP_ID")
    private String groupId;
    /**
     * 检验类别
     */
    @TableField("INSPECTION_CATEGORY")
    private String inspectionCategory;
    /**
     * 检验状态
     */
    @TableField("INSPECTION_STATUS")
    private String inspectionStatus;
    @TableField("INSPECTION_DATE")
    private Date inspectionDate;
    /**
     * 生产确认结果
     */
    @TableField("PRODUCT_CONFIRM_RESULT")
    private String productConfirmResult;
    /**
     * 生产确认人
     */
    @TableField("PRODUCT_CONFIRM_USER")
    private String productConfirmUser;
    /**
     * 生产确认时间
     */
    @TableField("PRODUCT_CONFIRM_DATE")
    private Date productConfirmDate;
    /**
     * 品质确认结果
     */
    @TableField("QUALITY_CONFIRM_RESULT")
    private String qualityConfirmResult;
    /**
     * 品质确认人
     */
    @TableField("QUALITY_CONFIRM_USER")
    private String qualityConfirmUser;
    /**
     * 品质确认时间
     */
    @TableField("QUALITY_CONFIRM_DATE")
    private Date qualityConfirmDate;
    /**
     * 工艺确认结果
     */
    @TableField("ROUTE_CONFIRM_RESULT")
    private String routeConfirmResult;
    /**
     * 工艺确认人
     */
    @TableField("ROUTE_CONFIRM_USER")
    private String routeConfirmUser;
    /**
     * 工艺确认时间
     */
    @TableField("ROUTE_CONFIRM_DATE")
    private Date routeConfirmDate;
    /**
     * 最终确认结果
     */
    @TableField("FINAL_CONFIRM_RESULT")
    private String finalConfirmResult;
    /**
     * 修改标识
     */
    @TableField("UPDATE_FLAG")
    private String updateFlag;
    /**
     * 删除标识
     */
    @TableField("DEL_FLAG")
    private String delFlag;
    /**
     * 创建时间
     */
    @TableField("CREATE_USER")
    private String createUser;
    /**
     * 创建人
     */
    @TableField("CREATE_DATE")
    private Date createDate;
    /**
     * 更新时间
     */
    @TableField("UPDATE_USER")
    private String updateUser;
    /**
     * 更新人
     */
    @TableField("UPDATE_DATE")
    private Date updateDate;
    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;

    /**
     * 生产订单编码
     */
    @TableField(exist = false)
    private String manufactureCode;

    /**
     * 物料编码
     */
    @TableField(exist = false)
    private String materialCode;

    /**
     * 产线名称
     */
    @TableField(exist = false)
    private String lineName;

    /**
     * 工序名称
     */
    @TableField(exist = false)
    private String opName;

    /**
     * 班组名称
     */
    @TableField(exist = false)
    private String shiftName;


    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getSheetNo() {
        return sheetNo;
    }

    public void setSheetNo(String sheetNo) {
        this.sheetNo = sheetNo;
    }

    public String getManufactureId() {
        return manufactureId;
    }

    public void setManufactureId(String manufactureId) {
        this.manufactureId = manufactureId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getLineId() {
        return lineId;
    }

    public void setLineId(String lineId) {
        this.lineId = lineId;
    }

    public String getOperationId() {
        return operationId;
    }

    public void setOperationId(String operationId) {
        this.operationId = operationId;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getInspectionCategory() {
        return inspectionCategory;
    }

    public void setInspectionCategory(String inspectionCategory) {
        this.inspectionCategory = inspectionCategory;
    }

    public String getInspectionStatus() {
        return inspectionStatus;
    }

    public void setInspectionStatus(String inspectionStatus) {
        this.inspectionStatus = inspectionStatus;
    }

    public Date getInspectionDate() {
        return inspectionDate;
    }

    public void setInspectionDate(Date inspectionDate) {
        this.inspectionDate = inspectionDate;
    }

    public String getProductConfirmResult() {
        return productConfirmResult;
    }

    public void setProductConfirmResult(String productConfirmResult) {
        this.productConfirmResult = productConfirmResult;
    }

    public String getProductConfirmUser() {
        return productConfirmUser;
    }

    public void setProductConfirmUser(String productConfirmUser) {
        this.productConfirmUser = productConfirmUser;
    }

    public Date getProductConfirmDate() {
        return productConfirmDate;
    }

    public void setProductConfirmDate(Date productConfirmDate) {
        this.productConfirmDate = productConfirmDate;
    }

    public String getQualityConfirmResult() {
        return qualityConfirmResult;
    }

    public void setQualityConfirmResult(String qualityConfirmResult) {
        this.qualityConfirmResult = qualityConfirmResult;
    }

    public String getQualityConfirmUser() {
        return qualityConfirmUser;
    }

    public void setQualityConfirmUser(String qualityConfirmUser) {
        this.qualityConfirmUser = qualityConfirmUser;
    }

    public Date getQualityConfirmDate() {
        return qualityConfirmDate;
    }

    public void setQualityConfirmDate(Date qualityConfirmDate) {
        this.qualityConfirmDate = qualityConfirmDate;
    }

    public String getRouteConfirmResult() {
        return routeConfirmResult;
    }

    public void setRouteConfirmResult(String routeConfirmResult) {
        this.routeConfirmResult = routeConfirmResult;
    }

    public String getRouteConfirmUser() {
        return routeConfirmUser;
    }

    public void setRouteConfirmUser(String routeConfirmUser) {
        this.routeConfirmUser = routeConfirmUser;
    }

    public Date getRouteConfirmDate() {
        return routeConfirmDate;
    }

    public void setRouteConfirmDate(Date routeConfirmDate) {
        this.routeConfirmDate = routeConfirmDate;
    }

    public String getFinalConfirmResult() {
        return finalConfirmResult;
    }

    public void setFinalConfirmResult(String finalConfirmResult) {
        this.finalConfirmResult = finalConfirmResult;
    }

    public String getUpdateFlag() {
        return updateFlag;
    }

    public void setUpdateFlag(String updateFlag) {
        this.updateFlag = updateFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

    public String getManufactureCode() {
        return manufactureCode;
    }

    public void setManufactureCode(String manufactureCode) {
        this.manufactureCode = manufactureCode;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public String getOpName() {
        return opName;
    }

    public void setOpName(String opName) {
        this.opName = opName;
    }

    public String getShiftName() {
        return shiftName;
    }

    public void setShiftName(String shiftName) {
        this.shiftName = shiftName;
    }

    @Override
    public String toString() {
        return "IpqcInspectionSheet{" +
        ", pkId=" + pkId +
        ", sheetNo=" + sheetNo +
        ", manufactureId=" + manufactureId +
        ", productId=" + productId +
        ", lineId=" + lineId +
        ", operationId=" + operationId +
        ", groupId=" + groupId +
        ", inspectionCategory=" + inspectionCategory +
        ", inspectionStatus=" + inspectionStatus +
        ", inspectionDate=" + inspectionDate +
        ", productConfirmResult=" + productConfirmResult +
        ", productConfirmUser=" + productConfirmUser +
        ", productConfirmDate=" + productConfirmDate +
        ", qualityConfirmResult=" + qualityConfirmResult +
        ", qualityConfirmUser=" + qualityConfirmUser +
        ", qualityConfirmDate=" + qualityConfirmDate +
        ", routeConfirmResult=" + routeConfirmResult +
        ", routeConfirmUser=" + routeConfirmUser +
        ", routeConfirmDate=" + routeConfirmDate +
        ", finalConfirmResult=" + finalConfirmResult +
        ", updateFlag=" + updateFlag +
        ", delFlag=" + delFlag +
        ", createUser=" + createUser +
        ", createDate=" + createDate +
        ", updateUser=" + updateUser +
        ", updateDate=" + updateDate +
        ", remark=" + remark +
        "}";
    }
}
